package com.suixin.repository;

import com.suixin.entity.COrder;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @author wujunhong
 */
public interface COrderRepository extends JpaRepository<COrder,Long> {

    List<COrder> findByUserId(Integer userId);
}
